package xin.marcher.module.common.constants;

/**
 * 缓存的消息分组key
 */
public class CacheConstant {


    /**
     * 库存的分组key
     */
    public static final String INVENTORY_SKU_KEY = "inventory_sku";

    /**
     * 缓存消息的消费时间
     */
    public static final String CACHE_ROCKET_TIME_KEY = "cache_rocket_time_key";


    /**
     * 缓存兜底的锁key
     */
    public static final String CACHE_LOCK_KEY = "cache_lock_key";


    /**
     * 热点消息，需要广播的
     */
    public static final String MESSAGE_TYPE_HOT = "1";

    /**
     * 缓存的操作类型  2 删除
     */
    public static final String OPERATION_TYPE_DELETE = "2";

    /**
     * 缓存的组件类别， 2为tair
     */
    public static final String TAIR_CACHE_TYPE = "2";
}
